<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


			<head>
            <title>Project Cronos-Home</title>
            <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
            
             <!--   <link rel='stylesheet' href='style.css' type='text/css' media='screen' />  -->
               <!-- <link rel='icon' href='images/cronos.ico' type='image/x-icon' />-->
                <link rel='icon' href='images/arigel.ico' type='image/x-icon' />

            </head>

            <body><div id='outer'><div id='header'><div align='right'><img src='images/content/bug.png' title='Hic Sunt Dracones' />&nbsp;� version</div><br><br><a href='main.php'><img src='images/cronos_tp.jpg' alt='EightyThree Logo' title='Go to Main Page' /></a></div><div id='clearheader'></div>
            <br /><br />
            </div>
            </div>
             <div style='font-size : 28px;font-style : normal;padding-bottom:10px;'>Cronos Installed </div><br />
<?php
	$f_handle=fopen("config.txt","r");
	if($f_handle)
	{
		$text=file('config.txt');
		$d_type=$text[0];
		$d_hname=$text[1];
		$d_name=$text[2];
		$d_uname=$text[3];
		$d_pass=$text[4];
		echo "Database type:<b>".$d_type."</b><br>";
		echo "Database hostname:<b>".$d_hname."</b><br>";
		echo "Database name:<b>".$d_name."</b><br>";
		echo "Database user username:<b>".$d_uname."</b><br>";
		fclose($f_handle);
		 
	}
	else
	{
		echo "Cronos not installed";
	}
	
?>
				<br />				
	<form action='home.php' method='post'>
<div id='apDiv5' style='position: absolute; left: 18px; top: 357px; width: 531px; height: 24px; z-index: 5; vertical-align: middle'>User ID:</div>
				<div id='apDiv6' style='position: absolute; left: 100px; top: 357px; width: 144px; height: 24px; z-index: 6; vertical-align: middle'>
  					<input type='text' name='u_id'  /></div>
				<div id='apDiv7' style='position: absolute; left: 18px; top: 380px; width: 531px; height: 24px; z-index: 7; vertical-align: middle'>Password:</div>
				<div id='apDiv8' style='position: absolute; left: 100px; top: 380px; width: 144px; height: 24px; z-index: 8; vertical-align: middle'>
  					<input type='password' name='pass'  /></div>	
				<div id='apDiv13' style='position: absolute; left: 14px; top: 410px; width: 41px; height: 26px; z-index: 13; vertical-align: middle'><input type='submit' value='Submit'/></div>
					 <br /><br /><br /><br />
					 
		<?php echo "<input name='aaa' type='hidden' value='".$d_name."'/>"	?>
            <div style='border-top:5px solid #000'> 
            <div style='float:right;'><a href='http://www.arigel.com' title='Go to Arigel Website'><img src='images/footer/logo.png' border=0 alt='Arigel Open Source logo' /></a></div>

            </div>  
            <!-- CRONOS - 1983 -->
            <!-- This is version 0.1 Beta -->
            
            <!-- CRONOS is released under GPL v3. CRONOS is owned by Arigel -->
            </body>
            </html>